package io.bdmc.modules.bss.service.impl;

import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.DeviceLinkGroup;
import io.bdmc.modules.bss.mapper.DeviceLinkGroupMapper;
import io.bdmc.modules.bss.service.IDeviceLinkGroupService;

import java.util.HashMap;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 链路视图组 服务实现类
 * </p>
 *
 * @author 黄露
 * @since 2021-06-25
 */
@Service
public class DeviceLinkGroupServiceImpl extends ServiceImpl<DeviceLinkGroupMapper, DeviceLinkGroup>
        implements IDeviceLinkGroupService {
    @Autowired
    DeviceLinkGroupMapper _devicelinkgroupMapper;

    @Override
    public MyPage<DeviceLinkGroup> mySelectPage(MyPage<DeviceLinkGroup> myPage) {
        return _devicelinkgroupMapper.mySelectPage(myPage);
    }

    @Override
    public List<HashMap<String, Object>> routeTree(int deptId) {
        return _devicelinkgroupMapper.routeTree(deptId);
    }
}
